package xyz.talentboy.dao.daoImpl;

import org.springframework.stereotype.Repository;

import xyz.talentboy.common.DB.BaseDaoImpl;
import xyz.talentboy.dao.IMessageLogDao;
import xyz.talentboy.model.message.CommonMessage;

@Repository
public class MessageLogDaoImpl extends BaseDaoImpl implements IMessageLogDao {
	
	
	@Override
	public <T extends CommonMessage> void insert(T t) {	
		StringBuilder sb = new StringBuilder();
		sb.append("insert into message_log (");
	
		
		jdbcTemplate.execute(sb.toString());
		
	}
	
/*	private <T> String getBeanPro(T t){
		String pro = "";
		Field[] fields =  t.getClass().getDeclaredFields();
		for(Field field : fields){
			
		}
		return pro;
	}*/
	

}
